﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RegisterCardEdit.aspx.cs" Inherits="BalanceCenter_RegisterCardEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>山顶软件 - 添加|编辑商品档案</title>
    <link href="../Style/css.css" type="text/css" rel="stylesheet">
    <link href="../Style/main.css" type="text/css" rel="stylesheet">
    
<%--    <script  type="text/javascript" language ="javascript">   
        function ConfirmOption()   
        {  
           if(document.getElementById("File1").value =="")
           {
          　　 window.alert("上传图片失败，请选择图片路径");
           }
           else
           {
                window.alert("上传图片成功,保存后再修改！");             
           }
        }
    </script>  --%>
</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
    <form id="form1" runat="server">
    <font face="宋体">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="height: 50px" align="center">
                    <span style="font-size: 12pt; color: #3399cc"><strong>添加|编辑注册卡</strong></span>
                </td>
            </tr>
            <tr>
                <td align="center" style="height: 138px" valign="top">
                    <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 94%">
                        <tr>
                            <td width="9">
                                <img height="19" src="../Images/Table1/table_leftUp.jpg" width="9" />
                            </td>
                            <td background="../Images/Table1/table_Up.jpg">
                                &nbsp;
                            </td>
                            <td width="9">
                                <img height="19" src="../Images/Table1/table_rightUp.jpg" width="9" />
                            </td>
                        </tr>
                        <tr>
                            <td background="../Images/Table1/table_left.jpg" width="9">
                                &nbsp;
                            </td>
                            <td bgcolor="#f5faff">
                                <table id="Table2" bgcolor="#ffffff" border="0" bordercolor="#ffffff" cellpadding="0"
                                    cellspacing="1" style="border-collapse: collapse" width="100%">
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品名称：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodName" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <%--<tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品价格：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbPrice" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>--%>
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品类别：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:DropDownList ID="ddlGoodType" runat="server" style="width: 158px">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>  
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            卡  号：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodNo" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            密  码：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodPassword" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>                                                                      
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品规格：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodNorm" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品颜色：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodColor" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品单位：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbGoodUnit" runat="server" Width="150px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <%--<tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            商品图片：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:Image ID="Image1" runat="server" Height="88px" Width="172px" /><br />
                                            <input id="File1" runat="server" style="width: 275px" type="file" />&nbsp;
                                            <%--<input type="button" value="上传图片" onclick='ConfirmOption()' />
                                        </td>
                                    </tr>--%>
                                    <tr>
                                        <td align="right" bgcolor="#dae6f3" style="width: 264px">
                                            备 注：
                                        </td>
                                        <td align="center" colspan="2" bgcolor="#f0f4f8">
                                            <asp:TextBox ID="tbRemark" runat="server" TextMode="MultiLine" Width="150px" Height="60px"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td background="../Images/Table1/table_right.jpg" width="9">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="9">
                                <img height="21" src="../Images/Table1/table_leftDown.jpg" width="9" />
                            </td>
                            <td background="../Images/Table1/table_Down.jpg">
                                &nbsp;
                            </td>
                            <td width="9">
                                <img height="21" src="../Images/Table1/table_rightDown.jpg" width="9" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:Button ID="btnOK" runat="server" Text="保存" Width="90px" OnClick="btnOK_Click" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="返回" Width="90px" OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </font>
    <input id="hID" type="hidden" runat="server" />
    </form>
</body>
</html>
